JMU JMU - Department of Computer Science
Help Tools
UML Style Guide


Your UML diagrams must comply will the following Style Guide.

1 General

  1. All diagram elements must have a black foreground and a white (or transparent, where appropriate) background.
  2. The font for all items must be Dialog, Regular, 11pt.
  3. Lines must have a weight of 1.

2 Activity Diagrams

  1. Use verbs (or verb phrases) for actions and activities, and nouns (or noun phrases) for data/objects.
  2. Where possible, flows must not cross/intersect.

3 Class Diagrams

  1. Do not include empty attribute and/or method sections in abstract Class Diagrams.
  2. Show stereotypes (if any).
  3. Show constraints (if any).
  4. Show parameters of parameterized classes/templates.
  5. Show the type of attributes.
  6. Show parameter names, parameter types, names, return types, and raised exceptions of methods.

4 Sequence Diagrams

  1. Do not include activations unless they are necessary.
  2. Do not include sequence numbers in messages.

Copyright 2024